@echo off
echo 启动Spring Boot后端服务...

REM 设置环境变量
set MAVEN_HOME=C:\Users\admin\apache-maven\apache-maven-3.9.6
set PATH=%MAVEN_HOME%\bin;%PATH%

cd backend
echo 检查 Maven 版本...
mvn --version
echo.
echo 启动后端服务...
mvn spring-boot:run
pause